package com.lkinga.www.Controller;

import java.io.IOException;
import java.util.Stack;

import com.lkinga.www.DAO.filesystem;
import com.lkinga.www.DAO.movicegrade;
import com.lkinga.www.DAO.userrecommend;
import com.lkinga.www.Model.user;
import com.lkinga.www.View.MovieRateFrame;
import com.lkinga.www.View.recom;

public class dataprocessing {
	public static void run(int[] arr) {
		for (int i : arr) {
			System.out.println("con"+i);
		}
		user.set(arr[0],
				arr[1],
				arr[2],
				arr[3],
				arr[4],
				arr[5],
				arr[6],
				arr[7],
				arr[8],
				arr[9]);
		try {
			
			  userrecommend.run();
			System.out.println("user runing");
			 movicegrade.run();
			System.out.println("movie runing");
			filesystem.run();
			
			
		} catch (Exception e) {
			e.printStackTrace();
		}
		System.out.println("view run");
		new recom();
		System.out.println("view runing");
		//Stack<Integer> st = new Stack<Integer>();
	}
	
	
}
